home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HyperLib 1997 Winter - Disc 1
/
HYPERLIB-1997-Winter-CD1.ISO.7z
/
HYPERLIB-1997-Winter-CD1.ISO
/
オンラインウェア
/
UTIL
/
Alpha 6.5.sit
/
Tcl
/
UserCode
/
setPascalMode.tcl
< prev
next >
Wrap
Text File
|
1996-08-15
|
1KB
|
42 lines
# FILE: setPascalMode.tcl
#
# LAST UPDATE: 01/07/93 8:40:41 AM
#
# This file contains the following TCL procedure(s):
#
# setPascalMode -- used with changeMode & Pascal programming language
# COPYRIGHT:
#
# Copyright ゥ 1993 by David C. Black
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that the above copyright notice and this paragraph are
# duplicated in all such forms and that any documentation,
# advertising materials, and other materials related to such
# distribution and use acknowledge that the software was developed
# by David C. Black.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#
################################################################################
# Pascal programming mode
proc setPascalMode {} {
changeMode "Pas"
uplevel #0 {
set elecLBrace 0
set elecRBrace 0
set electricSemi 0
set wordWrap 0
set funcTitle "Proc"
set funcExpr {^ *(procedure|function) *([a-zA-Z0-9_]*).}
set funcPar 2
set sortedIsDefault 0
}
}